<h1 id="contactus" class="alt">
    <?php echo __('home_contact_us');?>
</h1>
<div style="clear: both;">&nbsp;</div>
<div class="wrapper contact">
    <form id="contact_form" method="post" action="<?php echo url('contact'); ?>">            
    <table width="100%">
    
                <?php if(!empty($confirmed)) echo '<tr><td></td><td class="error">'.$confirmed.'</td></tr>';?>
                <tr>
                    <td width="20%"><?php echo __('home_contact_yourname') ?></td>
                    <td>
                        <input id="title" name="yourname" type="text" style="width:100%" value="<?php echo $this->input->post('yourname'); ?>" />
                    </td>
                </tr>
                <?php if(form_error('yourname')) echo '<tr><td></td><td class="error">'.form_error('yourname').'</td></tr>';?>
                <tr>
                    <td><?php echo __('home_contact_youremail') ?></td>
                    <td>
                        <input id="title" name="youremail" type="text" style="width:100%" value="<?php echo $this->input->post('youremail'); ?>" />
                    </td>
                </tr>
                <?php if(form_error('yourname')) echo '<tr><td></td><td class="error">'.form_error('yourname').'</td></tr>';?>
                <tr>
                    <td><?php echo __('home_payment_subject') ?></td>
                    <td>
                        <input id="title" name="yourtitle" type="text" style="width:100%" value="<?php echo $this->input->post('yourtitle'); ?>" />
                    </td>
                </tr>
                <?php if(form_error('yourtitle')) echo '<tr><td></td><td class="error">'.form_error('yourtitle').'</td></tr>';?>
                <tr>
                    <td><?php echo __('home_contact_yourmessage') ?></td>
                    <td>
                        <textarea cols="" rows="" style="width: 100%; height: 200px" id="yourmessage" name="yourmessage"><?php echo $this->input->post('yourmessage'); ?></textarea>                        
                    </td>
                </tr>
                <?php if(form_error('yourname')) echo '<tr><td></td><td class="error">'.form_error('yourname').'</td></tr>';?>
        <tr>
            <td></td><td><input type="submit" id="setting_submit" name="submit" value="<?php echo __('home_send_contact');?>" /></td>
        </tr>
    
</table>
</form>
</div>

<div style="clear: both;">&nbsp;</div>
